import { Component } from 'react'
import Demo1 from './01.定义状态'
import Demo2 from './02.事件和改变this指向'
import Demo3 from './03.受控与非受控组件'
import Demo4 from './04.组件传值/父传子/child1'
import Demo5 from './04.组件传值/子传父/parent'
import Refparent from './04.组件传值/父传子/父传子ref&refs/parent'
import Parentcontext from './04.组件传值/跨级传值/parent'
import StateClass from './05.动态class/动态class'
class Demo extends Component {
  render () {
    return (<>
    <StateClass/>
    <Parentcontext/>
    <hr />
    <Refparent/>
    <hr />
      <Demo5 />
      <Demo1 />
      <Demo2 />
      <Demo3 />
      <Demo4 />

    </>)
  }
}
export default Demo